package com.sky.mapper.admin;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface WorkspaceMapper {

    @Select("SELECT count(status) from orders where status = #{status}")
    Integer getoverviewOrders(Integer status);

    @Select("select count(id) from orders")
    Integer getallOrders();
}
